package com.dengyafei.mapper;

import com.dengyafei.bean.PropagandaEntity;
import com.dengyafei.bean.PropagandaEntityExample;
import java.util.List;

import com.dengyafei.domin.dto.PropagandaSearchDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 邓亚非
 */
@Mapper
public interface PropagandaEntityMapper {
    int countByExample(PropagandaEntityExample example);

    int deleteByExample(PropagandaEntityExample example);

    int deleteByPrimaryKey(Integer mid);

    int insert(PropagandaEntity record);

    int insertSelective(PropagandaEntity record);

    List<PropagandaEntity> selectByExample(PropagandaEntityExample example);

    PropagandaEntity selectByPrimaryKey(Integer mid);

    int updateByExampleSelective(@Param("record") PropagandaEntity record, @Param("example") PropagandaEntityExample example);

    int updateByExample(@Param("record") PropagandaEntity record, @Param("example") PropagandaEntityExample example);

    int updateByPrimaryKeySelective(PropagandaEntity record);

    int updateByPrimaryKey(PropagandaEntity record);

    List<PropagandaEntity> queryByParams(Integer hid,String params);

    List<PropagandaEntity> queryAll();

    List<PropagandaEntity> queryPropagandas(PropagandaSearchDTO propagandaSearchDTO);

}